#pragma once
#include <QObject>
#include <QTcpSocket>
#include <QTimer>

class PrinterClient : public QObject {
    Q_OBJECT
public:
    explicit PrinterClient(QObject* parent = nullptr);
    virtual void sendData(const QByteArray& data) = 0;

signals:
    void dataSent();
    void errorOccurred(const QString& error);
};

